#ifndef __BASIC_H
#define __BASIC_H

#define ADDR1_PIN   GPIO_Pin_7  
#define ADDR2_PIN   GPIO_Pin_6          
#define ADDR3_PIN   GPIO_Pin_5  
#define ADDR4_PIN   GPIO_Pin_4  
#define ADDR5_PIN   GPIO_Pin_3  
#define ADDR6_PIN   GPIO_Pin_2  
#define ADDR7_PIN   GPIO_Pin_1
#define ADDR8_PIN   GPIO_Pin_0  

#define LED_GREEN   GPIO_Pin_17  
#define LED_RED     GPIO_Pin_16  

#define FIRE_PIN     GPIO_Pin_12

extern uint8_t KeyScan(void);
void Basic_Init(void);
void LED_Handle(void);
void Set_Led_Flash_Fg(void);
uint8_t Get_Led_Status(void);
void Set_Led_Status(uint8_t Status);
void Fire_Scan(void);
uint8_t Get_Fire_Status(void);
#endif